package com.fund.api.client;

import com.fund.api.entity.TradeOrder;
import com.fund.common.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("product-service")
public interface ShareHoldingClient {

    @PutMapping("/shareHolding")
    public Result<Boolean> updateShareHoldings(@RequestBody List<TradeOrder> tradeOrders);
}
